<template>
  <hover-container
    class="w-64 h-full"
    tooltip-content="重新加载"
    placement="bottom-end"
    @click="handleRefresh"
  >
    <refresh-icon class="text-50!" />
  </hover-container>
</template>

<script setup lang="ts">
import { useAppStore } from '@/store';

const appStore = useAppStore();
async function handleRefresh() {
  appStore.reloadPage();
}
</script>

<style scoped></style>
